package com.oreilly.justspring.core.ch2.ex28;

import java.util.concurrent.atomic.AtomicInteger;

public class UniqueIdService {
	private static AtomicInteger uniqueId = new AtomicInteger(0);

	public static int getUniqueId() {
		return uniqueId.incrementAndGet();
	}
}
